<template>
  <div class="box">
    <div class="cards">
      <div class="cards_item" v-for="(o, index) in 10">
        <el-card :body-style="{ padding: '0px'}">
          <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
          <div style="padding: 14px;">
            <span>好吃的汉堡</span>
            <div class="bottom clearfix">
              <time class="time">1212121</time>
              <el-button type="text" class="button">安装</el-button>
            </div>
          </div>
        </el-card>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "appList",
  data() {
    return {

    }
  }
}
</script>

<style scoped>
.time {
  font-size: 13px;
  color: #999;
}

.bottom {
  margin-top: 13px;
  line-height: 12px;
}

.button {
  padding: 0;
  float: right;
}

.image {
  width: 100%;
  display: block;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both
}
* {
  box-sizing: border-box;
}
.cards {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
/*  margin-left: -8px;
  margin-right: -8px;
  margin-bottom: -8px;
  margin-top: 7px;*/
}

.cards_item {
  margin: 5px;
}
.box{
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  /*padding: 8px;*/
  width: 100%;
  margin: 0 auto;
  /*background-color: antiquewhite;*/
}
</style>
